#ifndef __GRADDESCENT__
#define __GRADDESCENT__

#include "Func.h"
#include "Sinc.h"


class GradDescent{

	public:

		GradDescent(Func *anFunc);

		Vector2D gradient(Vector2D);

		Vector2D minimize(Vector2D, Float);

		Vector2D maximize(Vector2D, Float);

	private:

		Func *func;
};

#endif